import request from '@/utils/request'

// 增
export function savePostReply(data) {
  return request({
    url: '/postReply',
    method: 'put',
    data
  })
}

// 删
export function deletePostReply(data) {
  return request({
    url: '/postReply',
    method: 'delete',
    data
  })
}

// 改
export function updatePostReply(data) {
  return request({
    url: '/postReply',
    method: 'post',
    data
  })
}

// 查
export function getPostReply(id) {
  return request({
    url: `/postReply/${id}`,
    method: 'get'
  })
}

// 列表
export function getPostReplyList(data) {
  return request({
    url: '/postReplyList',
    method: 'post',
    data
  })
}

// vo列表
export function getPostReplyVoList(data) {
  return request({
    url: '/postReplyVoList',
    method: 'post',
    data
  })
}

